home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part2 / 14810 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.2 KB

  1. Path: news.halcyon.com!usenet
  2. From: Glen Parker <glenebob@halcyon.com>
  3. Newsgroups: comp.lang.c++
  4. Subject: Re: Can't link a .lib file...
  5. Date: Mon, 01 Apr 1996 19:41:20 -0800
  6. Organization: Computer Systems Contracting
  7. Message-ID: <3160A1E0.6D14@halcyon.com>
  8. References: <315AF5AB.7294@halcyon.com> <315C8508.553B@slaughter.com>
  9. NNTP-Posting-Host: blv-pm2-ip21.halcyon.com
  10. Mime-Version: 1.0
  11. Content-Type: text/plain; charset=us-ascii
  12. Content-Transfer-Encoding: 7bit
  13. X-Mailer: Mozilla 2.01 (WinNT; I)
  14.  
  15. > As I understand your problem, the issue is this:
  16. > you are trying to import a static lib created in the COFF format. BC++
  17. > does not do this. You need to use the DLL provided by the vendor, and
  18. > run implib on that DLL (running implib on a .lib file is useless).
  19. > If you don't have a DLL, you need to get one; you cannot statically link
  20. > to a library which uses the COFF object format.
  21.  
  22. I did try to build an import library from the DLL 
  23. (MAPI32.dll), the one that I found in the System32 
  24. directory.  This was the second thing I tried, and 
  25. I got an exception in IMPLIB.exe.  Any idea what 
  26. would cause that?  It happened on all (about 3 or 
  27. 4) of the 32-bit DLL's I tried, but on none of the 
  28. 16-bit DLL's I tried.
  29.  
  30. Glen
  31.  
  32.